package com.bigknow.appstore.web.console.app;

import com.bigknow.appstore.web.framework.entity.BaseEntity;
import com.bigknow.appstore.web.framework.entity.IEntity;
import org.mongodb.morphia.annotations.Entity;

import javax.xml.bind.annotation.XmlRootElement;

/**
 * Created by zhangwei on 2016/10/17.
 */
@XmlRootElement
@Entity("favorite")
public class Favorite extends BaseEntity implements IEntity {

    private String appId;
    private String userId;
    private boolean favorite;

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public boolean isFavorite() {
        return favorite;
    }

    public void setFavorite(boolean favorite) {
        this.favorite = favorite;
    }
}
